package com.google.code.sysarch.v4.graphical;

import org.lwjgl.opengl.GL11;

public class Explosion {

	private static final float frameTime = 35;
	private static float width, height;
	private static Texture texture;
	
	private float x, y, z;
	private int animFrame;
	
	public Explosion(float x, float y, float z) {
		this.x = x;
		this.y = y;
		this.z = z;
		this.animFrame = 0;
	}
	
	public static void setTexture(Texture tex, float width, float height) {
		Explosion.texture = tex;
		Explosion.width = width;
		Explosion.height = height;
	}
	
	public void update(double delta) {
		
	}
	
	public void render() {
		float rot_x, rot_y, rot_z;
		rot_x = rot_y = rot_z = 0;
		GL11.glPushMatrix();
			GL11.glTranslatef(x, y, z);
			GL11.glRotatef(rot_x, 1, 0, 0);
			GL11.glRotatef(rot_y, 0, 1, 0);
			GL11.glRotatef(rot_z, 0, 0, 1);
		GL11.glPopMatrix();
	}
	
}
